package org.jeecg.modules.engineering.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;

/**
 * @Description: 与外包商采集项编码对应关系表
 * @Author: jeecg-boot
 * @Date:   2019-08-27
 * @Version: V1.0
 */
@Data
@TableName("equip_data_collector_code")
public class EquipDataCollectorCode implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.UUID)
	private String id;
	/**采集项id*/
    @Excel(name = "采集项", width = 15,dicCode = "id" ,dictTable="equip_collect_item",dicText="collectName")
	@Dict(dicCode = "id" ,dictTable="equip_collect_item",dicText="collect_name")
	private String collectItemId;
	/**外包商*/
	@Excel(name = "外包商", width = 15,dicCode = "id" ,dictTable="equip_data_collector",dicText="collectorName")
	@Dict(dicCode = "id" ,dictTable="equip_data_collector",dicText="collector_name")
	private String collectorId;
	/**外包商采集项编码*/
    @Excel(name = "外包商采集项编码", width = 15)
	private String collectorCode;
	/**创建人*/
    @Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**修改人*/
    @Excel(name = "修改人", width = 15)
	private String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/**删除标识0-正常,1-已删除*/
	@TableLogic
	private Integer delFlag;
}
